package com.geek2.supermarket.dao;

import com.geek2.supermarket.pojo.SmbmsBill;

import java.util.HashMap;
import java.util.List;

public interface BillMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SmbmsBill record);

    int insertSelective(SmbmsBill record);

//    SmbmsBill selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SmbmsBill record);

    int updateByPrimaryKey(SmbmsBill record);

    List<SmbmsBill> queryAll(HashMap<String, Object> map);

   int billCount(HashMap<String, Object> map);

}